package com.fei.BYSJ.service.impl;

import com.fei.BYSJ.dao.TagMapper;
import com.fei.BYSJ.entity.Tag;
import com.fei.BYSJ.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TagServiceImpl implements TagService {

    @Autowired
    TagMapper tagMapper;

    @Override
    public List<Tag> findAllTag() {
        return tagMapper.selectAllTag();
    }
}
